#include<stdio.h>
#include<math.h>
static int prime_judge(int n)
{
	int i = 1;
	for (i = 2; i <= sqrt(n); i++)
	{
		if (n % i == 0) break;
	}
	if (i >= sqrt(n)) return 1;
	else return 0;
}
int main()
{
	int j = 0;
	for (j = 100; j <= 200; j++)
	{
		if (prime_judge(j)) printf("%d ", j);
	}
	getchar(); getchar();
	return 0;
}